package com.adminserver.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 管理员工作记录
 * @TableName admin_job_record
 */
@TableName(value ="admin_job_record")
@Data
public class AdminJobRecordEntity implements Serializable {
    /**
     * 身份证号
     */
    @TableId(value = "account")
    private String account;

    /**
     * 是否在岗
     */
    @TableField(value = "on_guard")
    private Boolean onGuard;

    /**
     * 上岗时间
     */
    @TableField(value = "starting_date")
    private Date startingDate;

    /**
     * 下岗时间
     */
    @TableField(value = "laid_off_time")
    private Date laidOffTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
